package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "questionnaire_bank")
public class Questionnaire implements Serializable {

    private ObjectId id;

    private String questionnaireId; //问卷编号
    private String questionId;      //试题编号
    private String name;        //问卷名称
    private String cover;       //  封面
    private String level;       //级别
    private Integer star;       //星别
    private Integer isLock = 1;     //是否锁住  0解锁 1锁住



}
